package team.archai.nexus.boot.platform.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import team.archai.nexus.boot.platform.basics.entity.BasicsEntity;

/**
 * <p>
 * 系统用户
 * </p>
 *
 * @author shibin
 * @since 2023-05-20
 */
@Getter
@Setter
@TableName("archai_nexus_system_account")
@Schema(description = "系统用户账号")
public class Account extends BasicsEntity {

    @Schema(description = "系统用户账号名称")
    private String account;
    @Schema(description = "系统用户账号类型")
    private Integer accountType;
    @Schema(description = "系统用户ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

}
